'use strict';
/**
 * Created by FreezeSoul on 2015/10/10.
 */
define([
    'angular',
    'app/modules/schema/define',
    'app/modules/schema/controllers/schema-tree'
],function(angular) {
    angular.module('ad.schema')
        .controller('adSchemaController',['$scope',function($scope) {
            $scope.sideBarState = {
                isShow :true
            };

            $scope.switchTreeSidebar = function(){
                $scope.sideBarState.isShow = !$scope.sideBarState.isShow;
            };
        }]);
});